.ElectronicFence {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    z-index: 1;

    &>.Open {
        position: absolute;
        left: 0;
        top: 0;
        width: 224px;
        height: 65px;
        z-index: 1;

        &>.button {
            /* in scss with just one variable i can change opacity with rgba(variable, opacity) but in css it's not possible so i have used three seperate variables */
            /* with hue-rotate color can be changed */
            --main-color: rgb(46, 213, 115);
            --main-bg-color: rgba(46, 213, 116, 0.36);
            --pattern-color: rgba(46, 213, 116, 0.073);

            /* change this rotation value */
            filter: hue-rotate(0deg);

            cursor: pointer;
            text-transform: uppercase;
            letter-spacing: 0.5rem;
            background: radial-gradient(circle,
                    var(--main-bg-color) 0%,
                    rgba(0, 0, 0, 0) 95%),
                linear-gradient(var(--pattern-color) 1px, transparent 1px),
                linear-gradient(to right, var(--pattern-color) 1px, transparent 1px);
            background-size:
                cover,
                15px 15px,
                15px 15px;
            background-position:
                center center,
                center center,
                center center;
            border-image: radial-gradient(circle,
                    var(--main-color) 0%,
                    rgba(0, 0, 0, 0) 100%) 1;
            border-width: 1px 0 1px 0;
            color: var(--main-color);
            padding: 1rem 3rem;
            font-weight: 700;
            font-size: 1.5rem;
            transition: background-size 0.2s ease-in-out;

            &:hover {
                background-size:
                    cover,
                    10px 10px,
                    10px 10px;
            }
        }

    }

    &>.Map {
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 100%;
    }

    &>.PerList {
        position: absolute;
        left: 16px;
        top: 16px;
        bottom: 16px;
        width: 560px;
        background: #f5f5f5;
        border-radius: 8px;
        box-shadow: var(--shadow-1-down);
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        overflow: hidden;

        &>.Tilte {
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px;

            &>div {
                font-family: PingFang;
                font-weight: 600;
                font-size: 24px;
                color: #444444;
                user-select: none;
            }

            &>span {
                padding: 8px;
                font-size: 24px;
                cursor: pointer;
            }
        }

        &>.List {
            width: 100%;
            flex: 1;
            overflow-y: scroll;

            &::-webkit-scrollbar {
                display: none;

            }

            &>.Item {
                display: flex;
                align-items: center;
                justify-content: center;
                flex-direction: column;
                background: white;
                padding: 16px;
                margin: 16px;
                box-shadow: var(--shadow-1-down);
                border-radius: 8px;
                position: relative;
                z-index: 1;

                &>.Project {
                    width: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;

                    &>div:nth-child(1) {
                        font-family: PingFang;
                        font-weight: 600;
                        font-size: 20px;
                        color: #262626;
                    }

                    &>div:nth-child(2) {
                        font-family: PingFang;
                        font-weight: 600;
                        font-size: 16px;
                        color: #888888;

                        &.active {
                            color: #cf1322;
                        }
                    }
                }

                &>.Options {
                    width: 100%;
                    height: 100%;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    padding: 16px;
                }


                &>.FenceList {
                    width: 100%;

                    &>div {
                        width: 100%;
                        display: flex;
                        align-items: center;
                        justify-content: space-between;
                        padding: 2px 8px;
                        margin: 2px;
                        background: rgba(0, 0, 0, 0.15);
                        border-radius: 4px;
                    }
                }

            }
        }
    }
}